feudal_governments = {

	muslim_imperial_government = {
		preferred_holdings = { CASTLE }
		allowed_holdings = { 
			CASTLE
			TEMPLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			feudal_government
			theocratic_feudal_government
			chinese_imperial_government
		}
		#free_revoke_on_tiers = {
		#	duke
		#}
		free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
			tribal_government
		}
		frame_suffix = "_iqtimp"
		potential = {
			clan = no
			is_nomadic = no
			primary_title = {
				has_title_flag = isimpflag
			}
			OR = {
				AND={
					has_game_rule = { name = imperial_options value = restricted } 
					has_law = succ_byzantine_elective2
				}
				AND={
					has_game_rule = { name = imperial_options value = unrestricted }
				}
			}
			is_patrician = no
		}
		
		color = { 239 255 161 }
		
		uses_decadence = no
		uses_piety_for_law_change = no
		
		dukes_called_kings = yes
		barons_need_dynasty = yes
		have_gender_laws = no
		allows_matrilineal_marriage = no
		free_retract_vassalage = no
		
		can_usurp_kingdoms_and_empires = no
		can_imprison_without_reason = no
		can_create_empires = no
		vassal_government_opinion_penalties = no

		free_levies_in_offensive_war = yes # Took away the hardcoded stuff for muslims where they could raise levies without pissing off vassals if in an offensive war.

		can_build_tribal = no
		
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		capital_move_delay = 600

		## Modifiers
		court_size_modifier = 10
	}
}